package com.duanzz.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author duanzz
 * @description
 * @date 2020/11/17
 */
@Data
public class Emp implements Serializable {

    private Integer empno;

    private String ename;

    private String job;

    private Integer mgr;

    private Date hiredate;

    private Double sal;

    private Double comm;

    private Integer deptno;
    /* 延迟加载的属性 1对1 */
    private Dept dept;
    /* 延迟加载的属性 多对多中的1对多 */
    private List<Role> roleList;

}
